package com.testmanager.testmananger.shuiyou.szjk.domain;


import com.testmanager.testmananger.foundation.domain.AbstractAuditingEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@Table(name = "sy_zipfile")
@Entity
public class ZipFileEntity extends AbstractAuditingEntity implements Serializable {
    private static final long serialVersionUID = 4164654011994959680L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private long id;
    @NotNull
    @Column(name = "zip_id")
    private long zipId;
    @NotNull
    @Column
    private String name;
    @NotNull
    @Column(length = 10000000)
    private String content;


}
